home *** CD-ROM | disk | FTP | other *** search
- Path: comma.rhein.de!serpens!not-for-mail
- From: mlelstv@serpens.rhein.de (Michael van Elst)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: BitMap problem
- Date: 13 Apr 1996 11:57:25 +0200
- Organization: dis-
- Message-ID: <4kntq5$78q@serpens.rhein.de>
- References: <4kfesg$sqe@sinsen.sn.no> <1996Apr10.104208.28803@imada.ou.dk> <4kgqs9$clr@serpens.rhein.de> <1996Apr11.153514.2002@imada.ou.dk> <4kjiim$lhd@serpens.rhein.de> <632.6675T1277T900@cs.ruu.nl>
- NNTP-Posting-Host: serpens.rhein.de
-
- wsldanke@cs.ruu.nl (Wessel Dankers) writes:
-
- >>>window with the wrong BitMap (the one(s) you allocated manually)
- >>>linked to the RastPort, the OS gets annoyed and decides to annoy
- >>>you with gurus.
-
- >> In fact, you end with gurus if you poke into a windows rastport.
- >> And double buffering this way is illegal anyway.
-
- >Hmm. How can I AreaDraw() in a window's RastPort then? One *must* link in an
- >AreaInfo and a TmpRas somehow.
-
- Yes. Maybe that was a bit misleading. A window RastPort is owned by
- the window and uses the screens bitmap. Poking the bitmap and also
- many other rastport fileds is illegal because the rastport is used
- by Intuition too.
-
- AreaInfo and TmpRas are allowed although I consider this bad design.
- A cleaner method is to clone the windows RastPort and modify the copy.
-
- Regards,
- --
- Michael van Elst
-
- Internet: mlelstv@serpens.rhein.de
- "A potential Snark may lurk in every tree."
-